# Program to find the minimum number that can be divided
# by all the numbers from 1-20 evenly
# ©Derek Slenk, 2009

def done(ie)
  puts ie
  puts "Written Entirely by Derek Slenk, http://codingat3am.com"
end

def loop(i)
  i++
  for num in (1..20)
    if (i % num == 0)
      if (i == 20)
        done(i)
      end
    else
      loop(i)
    end
  end
end

i = 20
loop(i)

